package com.yuan.zsschool.bean;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

import java.util.Date;

/**
 * 评论
 */
@Table(name = "t_comment")
public class Comment {
	@Column(name = "_index", isId = true)
	private int _index;// 只做数据库索引
	@Column(name = "id")
	private int id;// 业务id
	@Column(name = "pushId")
	private int pushId;
	@Column(name = "username")
	private String username;
	@Column(name = "content")
	private String content;
	@Column(name = "time")
	private Date time;
	@Column(name = "type")
	private int type;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getPushId() {
		return pushId;
	}

	public void setPushId(int pushId) {
		this.pushId = pushId;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}
}
